package com.maple.p2pclient.socket;


public enum EventCode {
    // 创建房间
    CREATE("create"),
    // 加入房间
    JOIN("join"),
    // 加入房间成功
    JOINED("joined"),
    // 离开房间
    LEAVE("leave"),
    // 房间已满
    FULL("full");

    private final String code;

    EventCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }
}
